﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OL.FrameCore.Application.User.Dto
{
    public class GetUserListResponse
    {
        public int Id { get; set; }
        public string UserName { get; set; }
        public string TrueName { get; set; }
        public string DeptName { get; set; }
        public string Phone { get; set; }
        public string Email { get; set; }
        public int Status { get; set; }
        public string StatusName
        {
            get {
                switch (Status)
                {
                    case 0:
                        return "启用";
                    case 1:
                        return "禁用";
                    default:
                        return "";
                }
            }
        }
        public DateTime CreateTime { get; set; }
    }
}
